import { Message } from 'element-ui';

let fn = Message.error;

Message.error = options => {
	if (options) {
		fn(options);
	}
};
